﻿using Microsoft.EntityFrameworkCore.Migrations;

namespace Magicodes.Admin.Migrations
{
    public partial class sforderResultOrderId : Migration
    {
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.AddColumn<long>(
                name: "OrderId",
                table: "SFOrderResults",
                nullable: false,
                defaultValue: 0L);

            migrationBuilder.AddColumn<string>(
                name: "destRouteLabe",
                table: "SFOrderResults",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "sourceDeptCode",
                table: "SFOrderResults",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "sourceTeamCode",
                table: "SFOrderResults",
                nullable: true);

            migrationBuilder.AddColumn<string>(
                name: "sourceTransferCode",
                table: "SFOrderResults",
                nullable: true);
        }

        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.DropColumn(
                name: "OrderId",
                table: "SFOrderResults");

            migrationBuilder.DropColumn(
                name: "destRouteLabe",
                table: "SFOrderResults");

            migrationBuilder.DropColumn(
                name: "sourceDeptCode",
                table: "SFOrderResults");

            migrationBuilder.DropColumn(
                name: "sourceTeamCode",
                table: "SFOrderResults");

            migrationBuilder.DropColumn(
                name: "sourceTransferCode",
                table: "SFOrderResults");
        }
    }
}
